package org.example.domain;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class User {
    String uniCode;

    String privateKey;

    List<ChatMessage> messages = new ArrayList<>();

    public void clearMessages(){
        messages.clear();
    }

}
